package br.mikhas.lab.query;

public class Condition {

	enum Operator {
		Equals, Like, Lower, Greater, Different
	}

	protected final Operator operator;
	protected Object value;

	private Condition(Operator operator, Object value) {
		this.operator = operator;
		this.value = value;
	}

	public static Condition match(Object value) {
		return new Condition(Operator.Equals, value);
	}
}
